<template>
	<view class="news_details">
		<view class="title">
			<p>系统消息</p>
			<span>{{ details.create_time}}</span>
		</view>
		<view class="content">
			<view class="part">
				<p>{{ details.content }}</p>
			</view>
		</view>
	
	</view>
</template>

<script>
	export default {
		props: {
			details: {
				type: Object,
				default: null
			}
		}
	}
</script>

<style lang="scss" scoped>
	.news_details{
		width: 100%;
		height: 100%;
		padding: 32rpx;
		box-sizing: border-box;
		.title{
			position: relative;
			&::after{
				content: "";
				position: absolute;
				bottom: 0;
				left: 0;
				right: 0;
				width: 100%;
				height: 2rpx;
				background-color: #EEE;
			}
			p{
				font-weight: 600;
				line-height: 1.5em;
				font-size: 36rpx;
				color: #333;
			}
			span{
				display: inline-block;
				padding: 32rpx 0;
				padding-right: 22rpx;
				font-size: 28rpx;
				color: #999;
				line-height: 1em;
			}
		}
		.content{
			.part{
				padding: 24rpx 0;
				p{
					font-size: 28rpx;
					color: #666;
					line-height: 1.5em;
				}
			}
			.middle{
				img{
					width: 100%;
					height: 320rpx;
					object-fit: cover;
				}
			}
		}
	}
</style>